package hcn.protocol.brandnew.dengji.menzhenyuyue;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 挂号科室医生搜索-响应消息(成功) - ODS_02040006_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryDeptAndDoctorResponse {

    /**
     * 返回结果集
     */
    @XmlElementWrapper(name = "ResultQuantityList")
    @XmlElement(name = "ResultQuantity")
    private List<ResultQuantity> resultQuantityList;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class ResultQuantity {

        /**
         * 医疗机构组织机构名称
         */
        @XmlElement(name = "AuthorOrganizationName")
        private String authorOrganizationName;
        /**
         * 医疗机构组织机构代码
         */
        @XmlElement(name = "AuthorOrganization")
        private String authorOrganization;
        /**
         * 查询类别
         */
        @XmlElement(name = "DType")
        private String dType;
        /**
         * 挂号科室代码
         */
        @XmlElement(name = "DeptCode")
        private String deptCode;
        /**
         * 挂号科室名称
         */
        @XmlElement(name = "DeptName")
        private String deptName;
        /**
         * 出诊医生医护人员工号
         */
        @XmlElement(name = "DoctorCode")
        private String doctorCode;
        /**
         * 出诊医生姓名
         */
        @XmlElement(name = "DoctorName")
        private String doctorName;
    }

}
